﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZQNB.BaseLib.Core.Models;

namespace ZQNB.BaseLib.Core
{
    public interface ISiteHealthStatusService
    {
        /// <summary>
        /// 所有的网站启动记录
        /// </summary>
        /// <returns></returns>
        IList<SiteHealthStatus> GetAllSiteHealthStatuses();

        SiteHealthStatus GetCurrentSiteHealthStatus();

        /// <summary>
        /// 通知启动
        /// </summary>
        void ApplicationStart();

        /// <summary>
        /// 通知结束
        /// </summary>
        void ApplicationEnd();
    }
}
